package cate.common.table.farm.forbidden.row.fm;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "混沌之地自选奖励")
public class FMChooseRewardRow extends ERow {
    @NoteField(value = "奖励ID")
    public int tid;

    @NoteField(value = "难度ID")
    public int difficulty;

    @NoteField(value = "自选奖励")
    public String rwdStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = xrw.getInteger("奖励ID", 0);
        this.difficulty = xrw.getInteger("难度ID", 0);
        this.rwdStr = xrw.getString("自选奖励");
    }
}
